﻿using B.S.Domain.审计字段;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Domain.BasicData.MaterialManagement.Product_material
{
    /// <summary>
    /// 产品物料表
    /// </summary>
    /// 
    [Table("product_material")]
    public class Product_material:BaseModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int Productid { get; set; }
        /// <summary>
        /// 物料编号
        /// </summary>
        public string Productcode { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string specifications { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string unit { get; set; }
        /// <summary>
        /// 预警值
        /// </summary>
        public decimal Earlywarningvalue { get; set; }
        /// <summary>
        /// 群组类型（物料群组）
        /// </summary>
        public int Grouptype { get; set; }
       /// <summary>
       ///加工路线（工序路线表）
       /// </summary>
        public int processroute { get; set; }
        /// <summary>
        /// 产品物料描述
        /// </summary>
        public string describe { get; set; }
        public int Grop { get; set; }
    }
}
